// Author: wsfuyibing <682805@qq.com>
// Date: 2025-05-01

package controllers

import (
	"gitee.com/go-wares/framework-iris/framework/src/logics"
	"github.com/kataras/iris/v12"
	"server/app/http/logics/root/index"
	"server/app/http/logics/root/ping"
)

// Controller Root.
type Controller struct {
}

// Get Default.
func (o *Controller) Get(i iris.Context) {
	logics.Do(i, index.New)
}

// GetPing Default.
func (o *Controller) GetPing(i iris.Context) {
	logics.Do(i, ping.New)
}
